<?php

	/**============================================**/

	$GLOBALS['JL_db_q_count'] = 0;
	
	/**============================================**/
	
	define('REQUEST_TIME',microtime(true));
/*	define('SERVER_ROOT',$_SERVER['DOCUMENT_ROOT'].'/zenboss2/server');
	define('DISPLAY_ROOT',$_SERVER['DOCUMENT_ROOT'].'/zenboss2/display');
	define('BOSS_ROOT',$_SERVER['DOCUMENT_ROOT'].'/zenboss2/boss');
	
	define('DB_HOST','192.168.173.161');
	define('DB_USER','dbuser');
	define('DB_PASSWORD','dbpassword');
	define('DB_NAME','pc');
	
	define('INDEX_PAGE',DISPLAY_ROOT.'/index.php');*/
	

	/**============ core config ===========**/
	define('PAGE_CHAR_SET','UTF-8');
	
	
	define('NO_PAGE','/404.html');
	define('TIME_ZONE','PRC');
	
	
	define('CAPTCHA_LIFT_TIME_SECOND',120);
	
	
	define('THIS_DOMAIN','www.zenboss.com');
	define('OTHER_DOMAIN','localhost|test.phpyu.com|zb.test.com|zw.test.com|www.jllee.com|www.zenboss.com|test.zenboss.com');
	
	define('DOCUMENT_ROOT',$_SERVER['DOCUMENT_ROOT']);//根目录
	
	define('DOCUMENT_ROOT_SUFFIX','' );//根目录后缀

	define('ROOT_DIR',$_SERVER['DOCUMENT_ROOT'].DOCUMENT_ROOT_SUFFIX);//工作根目录
	
	define('JL_ROOT',ROOT_DIR.'/library/JL/'); //JL的根目录
	
/*	define('UNITS_ROOT',DOCUMENT_ROOT.'/units');
	define('SERVER_ROOT',DOCUMENT_ROOT.'/service');
	define('DO_ROOT',DOCUMENT_ROOT.'/do');
	define('LIB_ROOT',DOCUMENT_ROOT.'/library');
	
	define('CACHE_ROOT',DOCUMENT_ROOT.'/cache');*/
	define('DISPLAY_ROOT',ROOT_DIR.'/templates');
	
//	define('ROOT_ROOT',DOCUMENT_ROOT.'/lib');


	define('LASTING_VAR_ROOT',ROOT_DIR.'/lvar');
	
//	define('FUNC_LIB_ROOT',DOC_ROOT.'/func_lib');
//	define('MY_BOSS_ROOT',DOC_ROOT.'/myBoss');
//	define('IMG_FILE_ROOT','');
	define('UPLOAD_FILE_ROOT',ROOT_DIR.'/up_file');
	
	define('INDEX_PAGE',ROOT_DIR.'/index.php');
	
	define('AUTO_FIRST_NAME_IS_DO',false);
	define('DISPLAY_ERRORS','on');
	define('USE_HTACCESS',false);
	
	/*************** Mail *********************/
	define('MAIL_HOST_POP3','');
	define('MAIL_HOST_SMTP','smtp.163.com');
	define('MAIL_HOST_PORT','25');
	
	define('MAIL_MAIL_ADDRESS','ex0@163.com');
	
	define('MAIL_FROMNAME','PHPYU - ex0');
	define('MAIL_USER','ex0');
	define('MAIL_PASSWORD','5861156');
	
	/*************** Mail END *********************/
	
	
	/*************** Database config *******************/
	include_once('sys_config_db.php');

	/*************** Database config END *******************/
	
	/**============ core config END =============**/

	ini_set('display_errors',DISPLAY_ERRORS);
?>